#ifndef __RENDERER_H__
#define __RENDERER_H__

#include <GL/gl.h>
#include <GL/glu.h>

#include "puzzle.h"

class Renderer
{
    int w;
    int h;
    Brick *scene;
    float *hero;
    float *wc;
 
    public:
        Renderer(Puzzle *p, int w = 640, int h = 480);
        ~Renderer();
        void set2DProjection();
        void set3DProjection();
        void renderScene();
        void getWorldDims(float *);
        void drawCube(float x, float y, float z, float size);
};


#endif //__RENDERER_H__
